package com.fjnldx.mes.domain.pojo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDate;

/**
 * 日期、班次、对应工序、对应工种
 */
@Data
public class UpdateLscsReq {
    private String org;
    private String cj;
    private String gongxu;
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(shape = JsonFormat.Shape.STRING, pattern = "yyyy-MM-dd", timezone = "GMT+8")
    private LocalDate time;
    private String bc;
    private String lscs;
    //private String current_dh;
    private String pz;
    @ApiModelProperty(notes = "单数为1，双数为0")
    private String flag;
    @ApiModelProperty(notes = "0为早上的班次，1为晚上的班次")
    private String sameBcFlag;
}
